package cn.wildfirechat.app.shiro;

import org.apache.shiro.authc.AuthenticationToken;

public class GoogleAuthToken implements AuthenticationToken {
    private String email;
    private String idToken;
    
    public GoogleAuthToken(String email, String idToken) {
        this.email = email;
        this.idToken = idToken;
    }
    
    @Override
    public Object getPrincipal() {
        return email;
    }
    
    @Override
    public Object getCredentials() {
        return idToken;
    }
}